import { Fragment } from "react"
import ReactDOM from "react-dom/client"
import App from "./App"
import store from "./store"
import { Provider } from "react-redux"
// import actionCreator from "./store/actions/actionCreator"
// store.getState()
// store.dispatch(actionCreator({ type: 'FETCH_PRODUCT' }))
let root = ReactDOM.createRoot(document.getElementById('root')!)
root.render(
    <Provider store={store}>
        <Fragment>
            <App />
        </Fragment>
    </Provider>
)